home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Development Platforms / Apple II / Essentials / Technical.Notes / Mous / TN.MOUS.003 < prev    next >
Encoding:
Text File  |  1990-01-23  |  2.0 KB  |  52 lines  |  [TEXT/pdos]

  1. Apple II
  2. Technical Notes
  3. _____________________________________________________________________________
  4.                                                   Developer Technical Support
  5.  
  6.  
  7. Mouse
  8. #3:    Mode Byte of the SetMouse Routine
  9.  
  10. Revised by:    Matt Deatherage                                  November 1988
  11. Revised by:    Rilla Reynolds                                   November 1985
  12.  
  13. This Technical Note explains the results of turning the mouse on and off 
  14. through the mode byte of the SetMouse routine. 
  15. _____________________________________________________________________________
  16.  
  17.  
  18. What Turning the Mouse Off Does
  19.  
  20. In the description of SetMouse and the mouse mode, the low-order bit of the 
  21. mouse mode is said to control mouse off and mouse on.  This terminology is 
  22. somewhat misleading.  When this bit is set to 0, the mouse is off only in the 
  23. following respects:
  24.  
  25. 1.    The mouse position is not tracked; any mouse motion is ignored.
  26. 2.    ReadMouse calls do not update the status byte or the screen holes, 
  27.       except on the IIGS, where ReadMouse always functions the same, 
  28.       regardless of mouse on or mouse off.
  29. 3.    Button and movement interrupts are not generated, regardless of 
  30.       the other mouse mode bits.  Pure VBL interrupts can still be 
  31.       generated, however, if bit 3 is set.
  32.  
  33.  
  34. What Turning the Mouse Off Does Not Do
  35.  
  36. Other mouse functions will continue to work as usual when the mouse is off.  
  37. PosMouse and ClearMouse will change the mouse position, ClampMouse will set 
  38. new clamp values, etc.  In particular:
  39.  
  40. 1.    Turning the mouse off and on with the mode byte does not reset any 
  41.       mouse values, including position.  The mouse position retains the 
  42.       last values it had before the mouse was turned off until it is 
  43.       turned on again.
  44. 2.    A mode byte of $08 (mouse off but VBL interrupt on) will generate 
  45.       VBL interrupts.
  46.  
  47.  
  48. Further Reference
  49. o    Apple IIGS Firmware Reference
  50. o    Apple IIe Technical Reference Manual
  51. o    Apple IIc Technical Reference Manual, Second Edition
  52.